@layout("/common/_container.html"){
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/bootstrap-3.3.4.css">
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
<link rel="stylesheet" href="${ctxPath}/static/modular/standard/standard/jsBarCode/css/style.css">
<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/jQueryPrint/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/jQueryPrint/js/jQuery.print.js"></script>
<script type="text/javascript" src="http://www.jq22.com/jquery/vue.min.js"></script>
<script type="text/javascript" src='${ctxPath}/static/modular/standard/standard/jsBarCode/js/JsBarcode.all.min.js'></script>

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input id="id" name="" value="${item.id}" type="hidden"/>
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="standardName" name="名称" value="${item.standardName}" readonly="readonly" style = "border:none;width:280px;background:#FFFFFF;"/>
                    <#input id="standardId" name="批号" value="${item.standardId}" readonly="readonly" border = "none" style = "border:none;width:280px;background:#FFFFFF;"/>
                    <#input id="standardLabel" name="标号" value="${item.standardLabel}" readonly="readonly" border = "none" style = "border:none;width:280px;background:#FFFFFF;"/>
                    <svg id="barcode1"></svg>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div class="row btn-group-m-t">
        <div class="col-sm-10">
            <#button btnCss="info" name="打印" id="ensure" icon="fa-check" clickFun="funprint()"/>
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="StandardInfoDlg.close()"/>
        </div>
    </div>
</div>
</div>
</div>
<!-- 条码显示-->
<script>
    JsBarcode("#barcode1", "${item.standardCode}");
</script>
<!--条码打印，变成pdf-->
<script>
    function funprint(){
        $("#myElementId").print(/*options*/);
        Feng.success("打印成功!");
        /*关闭窗口*/
        /*parent.layer.close(window.parent.Standard.layerIndex);*/
    }
 </script>
<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/standard_info.js"></script>
<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/standard.js"></script>
@}
